import req from '@/utils/request';
import * as URL from '@/constants/api';
// 获取搜索建议
export function getSuggestList(value) {
    return req({
        url: URL.SEARCH_SUGGEST_LIST,
        params: {
            q: value,
        },
    })
        .then(res => res.data.data.options);
}
